package com.greate.community.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 用户
 * 对应数据库表 `user`
 */
@Data
@ToString
public class User {

    private int id;
    private String username;
    private String password;
    private String salt;
    private String email;
    private int exp;
    private int level;
    // 0-用户; 1-超级管理员; 2-管理员; 3-huster
    private int type;
    private int status;
    private String activationCode;
    private String headerUrl;
    private String studentCardUrl;
    private String studentCode;
    private String realName;
    private String institute;
    private String professionalClass;
    // 审核状态，0-未实名，1-未审核，2-审核通过，3-审核驳回
    private int auditStatus;
    private int likeCount;
    private Date createTime;
    private String openid;
}
